package com.oracle.cmp.service;

import com.oracle.cmp.common.Result;
import com.oracle.cmp.entity.Order;
import com.oracle.cmp.entity.OrderDetail;

import java.util.List;
import java.util.Map;

public interface OrderService {
    public Result queryForPage(Map map,int pageNum);
    public Result save(Order order, List<OrderDetail> details,int userId);
    public Result delete(int orderId,String userId);
    public int count(Map<String, Object> map);
    public Result update(Order order,List<OrderDetail> details,String useid);
    public Result selectById(int orderid) ;
    public Result queryForPage1(Map map,int pageNum);
    public int count1(Map<String, Object> map);
}
